﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string url = "http://www.google.com.hk/" + search_input.Text.ToString();
        Response.Redirect(url);
    }
    protected void search_input_TextChanged(object sender, EventArgs e)
    {
        Response.Redirect("http://www.google.com.hk");
        search_label.Visible = false;
    }
}